<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>

</head>
<body>
    <div id="a8c70599ed6a461aa89ce5f708c780d8" style="width:900px; height:500px;"></div>
    <script>
        var chart_a8c70599ed6a461aa89ce5f708c780d8 = echarts.init(
            document.getElementById('a8c70599ed6a461aa89ce5f708c780d8'), 'white', {renderer: 'canvas'});
        var option_a8c70599ed6a461aa89ce5f708c780d8 = {
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "bar",
            "name": "pig",
            "xAxisIndex": 0,
            "yAxisIndex": 0,
            "data": [
                60,
                180,
                489,
                675,
                1776
            ],
            "barCategoryGap": "20%",
            "label": {
                "show": true,
                "position": "top",
                "margin": 8,
                "fontSize": 12
            }
        },
        {
            "type": "line",
            "name": "pig",
            "xAxisIndex": 1,
            "yAxisIndex": 1,
            "symbolSize": 4,
            "showSymbol": true,
            "smooth": true,
            "step": false,
            "data": [
                [
                    "ie",
                    60
                ],
                [
                    "firefox",
                    180
                ],
                [
                    "safari",
                    489
                ],
                [
                    "chrome",
                    675
                ],
                [
                    "edge",
                    1776
                ]
            ],
            "label": {
                "show": true,
                "position": "top",
                "margin": 8,
                "fontSize": 12
            },
            "lineStyle": {
                "width": 1,
                "opacity": 1,
                "curveness": 0,
                "type": "solid"
            },
            "areaStyle": {
                "opacity": 0
            }
        },
        {
            "type": "line",
            "name": "horse",
            "xAxisIndex": 1,
            "yAxisIndex": 1,
            "symbolSize": 4,
            "showSymbol": true,
            "smooth": false,
            "step": true,
            "data": [
                [
                    "ie",
                    49
                ],
                [
                    "firefox",
                    250
                ],
                [
                    "safari",
                    281
                ],
                [
                    "chrome",
                    600
                ],
                [
                    "edge",
                    1900
                ]
            ],
            "label": {
                "show": true,
                "position": "top",
                "margin": 8,
                "fontSize": 12
            },
            "lineStyle": {
                "width": 1,
                "opacity": 1,
                "curveness": 0,
                "type": "solid"
            },
            "areaStyle": {
                "opacity": 0
            }
        }
    ],
    "legend": [
        {
            "data": [
                "pig"
            ],
            "selected": {
                "pig": true
            },
            "show": true,
            "top": "48%"
        },
        {
            "data": [
                "pig",
                "horse"
            ],
            "selected": {
                "pig": true,
                "horse": true
            },
            "show": true
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "yAxis": [
        {
            "show": true,
            "scale": false,
            "nameLocation": "end",
            "nameGap": 15,
            "gridIndex": 0,
            "inverse": false,
            "offset": 0,
            "splitNumber": 5,
            "minInterval": 0,
            "splitLine": {
                "show": false,
                "lineStyle": {
                    "width": 1,
                    "opacity": 1,
                    "curveness": 0,
                    "type": "solid"
                }
            }
        },
        {
            "show": true,
            "scale": false,
            "nameLocation": "end",
            "nameGap": 15,
            "gridIndex": 1,
            "inverse": false,
            "offset": 0,
            "splitNumber": 5,
            "minInterval": 0,
            "splitLine": {
                "show": false,
                "lineStyle": {
                    "width": 1,
                    "opacity": 1,
                    "curveness": 0,
                    "type": "solid"
                }
            }
        }
    ],
    "xAxis": [
        {
            "show": true,
            "scale": false,
            "nameLocation": "end",
            "nameGap": 15,
            "gridIndex": 0,
            "inverse": false,
            "offset": 0,
            "splitNumber": 5,
            "minInterval": 0,
            "splitLine": {
                "show": false,
                "lineStyle": {
                    "width": 1,
                    "opacity": 1,
                    "curveness": 0,
                    "type": "solid"
                }
            },
            "data": [
                "ie",
                "firefox",
                "safari",
                "chrome",
                "edge"
            ]
        },
        {
            "show": true,
            "scale": false,
            "nameLocation": "end",
            "nameGap": 15,
            "gridIndex": 1,
            "inverse": false,
            "offset": 0,
            "splitNumber": 5,
            "minInterval": 0,
            "splitLine": {
                "show": false,
                "lineStyle": {
                    "width": 1,
                    "opacity": 1,
                    "curveness": 0,
                    "type": "solid"
                }
            },
            "data": [
                "ie",
                "firefox",
                "safari",
                "chrome",
                "edge"
            ]
        }
    ],
    "title": [
        {
            "text": "Grid-Line",
            "top": "48%"
        },
        {
            "text": "Line"
        }
    ],
    "grid": [
        {
            "bottom": "60%"
        },
        {
            "top": "60%"
        }
    ]
};
        chart_a8c70599ed6a461aa89ce5f708c780d8.setOption(option_a8c70599ed6a461aa89ce5f708c780d8);
    </script>
</body>
</html>
